From 569d9bb702d06c061dfbbf3c590d57ea83a04369 Mon Sep 17 00:00:00 2001
From: Jeremy Bicha <jbicha@ubuntu.com>
Date: Sat, 11 Feb 2012 22:48:36 -0500
Subject: [PATCH] remmina: install .desktop file

---
 remmina/desktop/CMakeLists.txt     |    1 +
 remmina/desktop/remmina.desktop    |   12 ++++++++++++
 remmina/desktop/remmina.desktop.in |   12 ------------
 3 files changed, 13 insertions(+), 12 deletions(-)
 create mode 100644 remmina/desktop/remmina.desktop
 delete mode 100644 remmina/desktop/remmina.desktop.in

diff --git a/remmina/desktop/CMakeLists.txt b/remmina/desktop/CMakeLists.txt
index c528fc5..f3b7cee 100644
--- a/remmina/desktop/CMakeLists.txt
+++ b/remmina/desktop/CMakeLists.txt
@@ -38,3 +38,4 @@ install(FILES ${ICON32_DATA} DESTINATION ${ICON32_DIR})
 install(FILES ${ICON48_DATA} DESTINATION ${ICON48_DIR})
 install(FILES ${ICONSVG_DATA} DESTINATION ${ICONSVG_DIR})
 
+install(FILES remmina.desktop DESTINATION share/applications/remmina.desktop)
diff --git a/remmina/desktop/remmina.desktop b/remmina/desktop/remmina.desktop
new file mode 100644
index 0000000..a1f6443
--- /dev/null
+++ b/remmina/desktop/remmina.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Version=1.0
+_Name=Remmina Remote Desktop Client
+_Comment=Connect to remote desktops
+TryExec=remmina
+Exec=remmina
+Icon=remmina
+Terminal=false
+Type=Application
+Actions=
+Categories=GTK;GNOME;X-GNOME-NetworkSettings;Network;
+
diff --git a/remmina/desktop/remmina.desktop.in b/remmina/desktop/remmina.desktop.in
deleted file mode 100644
index a1f6443..0000000
--- a/remmina/desktop/remmina.desktop.in
+++ /dev/null
@@ -1,12 +0,0 @@
-[Desktop Entry]
-Version=1.0
-_Name=Remmina Remote Desktop Client
-_Comment=Connect to remote desktops
-TryExec=remmina
-Exec=remmina
-Icon=remmina
-Terminal=false
-Type=Application
-Actions=
-Categories=GTK;GNOME;X-GNOME-NetworkSettings;Network;
-
-- 
1.7.10

